using System;

namespace PropertyExpression.Common
{
    public interface IOptionalValue<out TValue>
    {
        bool HasValue { get; }

        TValue Value { get; }

        TValue GetValue(Func<object> additionalInformationFunc);
    }
}